    var time1 = null;
    var link1 = '_record';
    var time2 = null;
    var link2 = 'jfAdmin'
    var time3 = null;
    var link3 = 'jfAdmin'
    var time4 = null;
    var link4 = 'jfAdmin'
    var time5 = null;
    var link5 = 'jfAdmin'
    var time6 = null;
    var link6 = 'jfAdmin'
    var time7 = null;
    var link7 = 'jfAdmin'
    var time8 = null;
    var link8 = 'jfAdmin'
    var time9 = null;
    var link9 = 'jfAdmin'
    function forView(no,type){
        $("#type").val( no +','+ type);
        var i = 1;
        if(type == '1'){
            eval("clearInterval(time"+no+");");
            eval("time"+no+"=setInterval(\"moveSide('"+no+"')\","+i+");");
        }else{
            eval("clearInterval(time"+no+");");
            eval("time"+no+"= setInterval(\"moveCenter('"+no+"')\","+i+");");
        }
    }
    function moveSide(no){
        var idL = '#celldiv' + no + 'L';
        var idR = '#celldiv' + no + 'R';
        var left = parseInt($(idL).css("left").split('p')[0]);
        var j = -60;
        if ($.browser.msie)
        	j = -100;
        if(left <= j){
            var cella = '#cell' + no + 'a';
            $(cella).css("color","#afffdf");
            addLink(no);
        }
        if($.browser.msie) {
			//"this is msie"
			if(left <= -150){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}
		else if($.browser.safari)
		{
			//"this is safari!")
			if(left <= -100){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}
		else if($.browser.mozilla)
		{
			//"this is mozilla!"
			if(left <= -100){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}
		else if($.browser.opera) {
			//"this is opera"
			if(left <= -100){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}
		else {
			if(left <= -100){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}

        $('#leftPosition').val(no+','+$(idL).css("left"));
        var u = 3;
        if($.browser.safari){
        	u = 1;
        }
        var intL = parseInt($(idL).css("left")) - u;
        var intR = parseInt($(idR).css("left")) + u;
        $(idL).css("left", intL.toString() + 'px');
        $(idR).css("left", intR.toString() + 'px');
    }
    function moveCenter(no){
        var idL = '#celldiv' + no + 'L';
        var idR = '#celldiv' + no + 'R';
        var left = parseInt($(idL).css("left").split('p')[0]);
        var j = -60;
        if ($.browser.msie)
        	j = -100;
        if(left > j){
            var cella = '#cell' + no + 'a';
            $(cella).css("color","#99aaaa");
            removeLink(no);
        }
        if($.browser.msie) {
			//"this is msie"
			if(left >= -50){
	            eval("clearInterval(time"+no+");");
	            return;
	        }
		}
		else if($.browser.safari)
		{
			//"this is safari!")
			if(left == 0){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}
		else if($.browser.mozilla)
		{
			//"this is mozilla!"
			if(left == 0){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}
		else if($.browser.opera) {
			//"this is opera"
			if(left == 0){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}
		else {
			if(left == 0){
	            eval("clearInterval(time"+no+");");
	            return;
        	}
		}

        $('#leftPosition2').val(no+','+$(idL).css("left"));
        var u = 3
        if($.browser.safari){
        	u = 1;
        }
        var intL = parseInt($(idL).css("left")) + u;
        var intR = parseInt($(idR).css("left")) - u;
        $(idL).css("left", intL.toString() + 'px');
        $(idR).css("left", intR.toString() + 'px');
    }
    function addLink(no){
        var target = '#cell'+ no +'b';
        eval("var targetLink = link" + no + ";");
        $(target).bind("click", function(){window.location.href=targetLink;});
    }
    function removeLink(no){
        var target = '#cell'+ no +'b';
        $(target).attr("onclick","");
    }

//var X2={}    //my namespace:)

 //   X2.Eval=function(code){
//     if(!!(window.attachEvent && !window.opera)){

      //ie

//      execScript(code);

//     }else{

      //not ie

 //     window.eval(code);
//
//     }

//    }